SCPAadeData

Objective-C


@interface SCPAadeData : NSObject <NSCopying>

Swift

class AadeData : NSObject, NSCopying

AADE (Greek tax authority) e-invoicing data required for card-present transactions in Greece.

Greek Governor’s Decision A.1155/2023 mandates that all Greek POS systems integrate with an AADE-certified e-invoicing provider. At the time of payment, the merchant’s e-invoicing provider generates a cryptographic signature (MARK) over the transaction data which must be attached to the PaymentIntent.

Use SCPAadeDataBuilder to create an instance.

  • The cryptographic signature (MARK) produced by the merchant’s e-invoicing provider. Only present in SCPAadeModeStandard mode.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *mark;

    Swift

    var mark: String? { get }
  • The data payload that was signed to produce the mark. Only present in SCPAadeModeStandard mode.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *markData;

    Swift

    var markData: String? { get }
  • The ID of the AADE-certified e-invoicing provider that produced the mark. Only present in SCPAadeModeStandard mode.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSNumber *providerId;

    Swift

    var providerId: NSNumber? { get }
  • The mode of the AADE e-invoicing integration.

    Declaration

    Objective-C

    @property (nonatomic, readonly) SCPAadeMode mode;

    Swift

    var mode: AadeMode { get }
  • The reason the POS system is operating in autonomous mode as a nullable NSNumber. Only present when mode is SCPAadeModeAutonomous.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSNumber *unboundPos;

    Swift

    var unboundPos: NSNumber? { get }
  • Unavailable

    Declaration

    Objective-C

    - (nonnull instancetype)init;
  • Unavailable

    Declaration

    Objective-C

    + (nonnull instancetype)new;