@card_nonce.setter<EOL><INDENT>def card_nonce(self, card_nonce):<DEDENT>
if card_nonce is None:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>if len(card_nonce) > <NUM_LIT>:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>self._card_nonce = card_nonce<EOL>
Sets the card_nonce of this ChargeRequest.
A nonce generated from the `SqPaymentForm` that represents the card to charge.  The application that provides a nonce to this endpoint must be the _same application_ that generated the nonce with the `SqPaymentForm`. Otherwise, the nonce is invalid.  Do not provide a value for this field if you provide a value for `customer_card_id`.

:param card_nonce: The card_nonce of this ChargeRequest.
:type: str