Class: Aws::PaymentCryptographyData::Types::PinData

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-paymentcryptographydata/lib/aws-sdk-paymentcryptographydata/types.rb

Overview

Note:

PinData is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of PinData corresponding to the set member.

Parameters that are required to generate, translate, or verify PIN data.

Direct Known Subclasses

PinOffset, Unknown, VerificationValue

Defined Under Namespace

Classes: PinOffset, Unknown, VerificationValue

Constant Summary collapse

SENSITIVE =
[:pin_offset, :verification_value]

Instance Attribute Summary collapse

Instance Attribute Details

#pin_offsetString

The PIN offset value.

Returns:

  • (String)


1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
# File 'gems/aws-sdk-paymentcryptographydata/lib/aws-sdk-paymentcryptographydata/types.rb', line 1692

class PinData < Struct.new(
  :pin_offset,
  :verification_value,
  :unknown)
  SENSITIVE = [:pin_offset, :verification_value]
  include Aws::Structure
  include Aws::Structure::Union

  class PinOffset < PinData; end
  class VerificationValue < PinData; end
  class Unknown < PinData; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



1692
1693
1694
# File 'gems/aws-sdk-paymentcryptographydata/lib/aws-sdk-paymentcryptographydata/types.rb', line 1692

def unknown
  @unknown
end

#verification_valueString

The unique data to identify a cardholder. In most cases, this is the same as cardholder's Primary Account Number (PAN). If a value is not provided, it defaults to PAN.

Returns:

  • (String)


1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
# File 'gems/aws-sdk-paymentcryptographydata/lib/aws-sdk-paymentcryptographydata/types.rb', line 1692

class PinData < Struct.new(
  :pin_offset,
  :verification_value,
  :unknown)
  SENSITIVE = [:pin_offset, :verification_value]
  include Aws::Structure
  include Aws::Structure::Union

  class PinOffset < PinData; end
  class VerificationValue < PinData; end
  class Unknown < PinData; end
end