-
Notifications
You must be signed in to change notification settings - Fork 305
Added new billing amount breakdown #1562
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
UnitTests/BraintreePayPalTests/BTPayPalVaultRequest_Tests.swift
Outdated
Show resolved
Hide resolved
Sources/BraintreePayPal/RecurringBillingMetadata/BTRecurringBillingAmountBreakdown.swift
Outdated
Show resolved
Hide resolved
Sources/BraintreePayPal/RecurringBillingMetadata/BTRecurringBillingAmountBreakdown.swift
Outdated
Show resolved
Hide resolved
Sources/BraintreePayPal/RecurringBillingMetadata/BTPayPalRecurringBillingDetails.swift
Outdated
Show resolved
Hide resolved
UnitTests/BraintreePayPalTests/BTPayPalVaultRequest_Tests.swift
Outdated
Show resolved
Hide resolved
UnitTests/BraintreePayPalTests/BTPayPalCheckoutRequest_Tests.swift
Outdated
Show resolved
Hide resolved
Sources/BraintreePayPal/RecurringBillingMetadata/BTAmountBreakdown.swift
Outdated
Show resolved
Hide resolved
Sources/BraintreePayPal/RecurringBillingMetadata/BTAmountBreakdown.swift
Outdated
Show resolved
Hide resolved
Sources/BraintreePayPal/RecurringBillingMetadata/BTAmountBreakdown.swift
Outdated
Show resolved
Hide resolved
…down.swift Co-authored-by: Jax DesMarais-Leder <jdesmarais@paypal.com>
Sources/BraintreePayPal/RecurringBillingMetadata/BTAmountBreakdown.swift
Outdated
Show resolved
Hide resolved
Sources/BraintreePayPal/RecurringBillingMetadata/BTAmountBreakdown.swift
Outdated
Show resolved
Hide resolved
…down.swift Co-authored-by: Rich Herrera <ricardherrera@paypal.com>
…down.swift Co-authored-by: Jax DesMarais-Leder <jdesmarais@paypal.com>
… into rba-amount
Co-authored-by: Jax DesMarais-Leder <jdesmarais@paypal.com>
import Foundation | ||
|
||
/// A recurring billing amount breakdown. | ||
/// |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: remove extra comment line
/// | |
/// |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had suggested this in an earlier PR to improve readability. :)
@@ -5,7 +5,7 @@ import XCTest | |||
class BTPayPalLineItem_Tests: XCTestCase { | |||
|
|||
func testUPCTypeStringReturnsCorrectValue() { | |||
var lineItem = BTPayPalLineItem(quantity: "1", unitAmount: "10", name: "item-name", kind: .debit) | |||
let lineItem = BTPayPalLineItem(quantity: "1", unitAmount: "10", name: "item-name", kind: .debit) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
curious why we need to change from var
to let
here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks great to me, just added a few minor comments
import Foundation | ||
|
||
/// A recurring billing amount breakdown. | ||
/// |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had suggested this in an earlier PR to improve readability. :)
We are expanding support of RBA metadata to the PayPal Checkout Vault with Purchase flow. New parameters have been added to RBA, particularly Billing Amount Breakdown.
Path:
/v1/paypal_hermes/create_payment_resource
Post Body:
Summary of changes
Checklist
Authors