STPSourceReceiver
Objective-C
@interface STPSourceReceiver : NSObject <STPAPIResponseDecodable>
Swift
class STPSourceReceiver : NSObject, STPAPIResponseDecodable
Information related to a source’s receiver flow.
-
Unavailable
You cannot directly instantiate an STPSourceReceiver. You should only use one that is part of an existing STPSource object.
You cannot directly instantiate an
STPSourceReceiver
. You should only use one that is part of an existingSTPSource
object.Declaration
Objective-C
- (nonnull instancetype)init;
-
The address of the receiver source. This is the value that should be communicated to the customer to send their funds to.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSString *address;
Swift
var address: String? { get }
-
The total amount charged by you.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSNumber *amountCharged;
Swift
var amountCharged: NSNumber? { get }
-
The total amount received by the receiver source.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSNumber *amountReceived;
Swift
var amountReceived: NSNumber? { get }
-
The total amount that was returned to the customer.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSNumber *amountReturned;
Swift
var amountReturned: NSNumber? { get }